package inherited.parent;

import inherited.ann.CommonAnn;
import inherited.ann.InheritedAnn;

@CommonAnn
@InheritedAnn
public class Parent {

	@CommonAnn
	@InheritedAnn
	public int price1 = 12;

	@CommonAnn
	@InheritedAnn
	public int price2 = 16;

	@CommonAnn
	@InheritedAnn
	public void method1() {
		System.err.println("Parent-method1");
	}

	@CommonAnn
	@InheritedAnn
	public void method2() {
		System.err.println("Parent-method2");
	}

}
